package com.tmeone.erpone.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tmeone.erpone.entity.TPar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tmeone.erpone.entity.TProduct;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author YJLJBD
 * @since 2021-04-22
 */
public interface TParMapper extends BaseMapper<TPar> {


    //分页方法
    IPage<TPar> selectTParPage(Page<TPar> page);
    //根据时间分页查询
    IPage<TPar> selectTParPageOnTime(Page<TPar> page,String time1,String time2);
    //通过申请
    void updateTpar(String id);
    //拒绝申请
    void rejectTpar(String id,String desc);
}
